<div style="width:800px; height:500px; overflow:auto">
    <div class="mt15 pb10 f14 clearfix">
        <span class="fl lh30 mr5">游戏类型：</span>
        <div class="fl w250">
            <div ui-combobox data="query.fieldList" text-field="text" value-field="value" ng-model="query.field" ng-change="query.gameTypeChanged()"></div>
        </div>
        <input type="text" class="input-text fl ml25 w310 c-gray ng-touched" placeholder="活动名称" ng-model="query.searchValue" ng-enter="query.queryDataBySearch()">
        <a href="javascript: void(0)" class="btn fl mlr5" ng-click="query.queryDataBySearch()">搜索</a>
    </div>
    <div class="table-wrap mt15" id="gameList">
        <table width="100%">
            <thead>
            <tr class="thead ta-l">
                <th height="34" width="50">
                </th>
                <th class="text-center" width="120">游戏</th>
                <th class="text-center" width="200">基础信息</th>
                <th class="text-center" width="180">预览二维码</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="record in query.data" ng-click="getRecord(record)">
                <td height="34">
                    <label class="radio text-center">
                        <input type="radio" name="game_radio" value="1">
                        <span></span>
                    </label>
                </td>
                <td class="text-center p5">
                    <p><img src="" class="textImg" ng-src="{{record.bannerUrl !== '' ? record.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+query.field+'.jpg'}}"></p>
                    <p ng-bind="record.gameName"></p>
                </td>
                <td>
                    <p>活动对象：<span ng-bind="record.target"></span></p>
                    <p>每天允许参与游戏次数：<span ng-bind="record.joinTimesPerDay"></span></p>
                    <p>每天允许中奖次数：<span ng-bind="record.maxWinTimes"></span></p>
                    <p>活动时间：<span ng-bind="record.startTime"></span>—<span ng-bind="record.endTime"></span></p>
                </td>
                <td class="text-center">
                    <img class="qrImg" src="" ng-src="{{record.qrPreImg}}">
                    <!-- <a href="" title="复制链接" class="mt5 c-orange lh24" link="record.visitUrl">复制链接</a> -->
                    <a clipboard href="javascript:void(0)" content="record.visitUrl" aftercopy="aftercopy()" class="mt5 c-orange lh24">复制链接</a>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="no-data ng-hide" ng-show="!query.hasData"><span>没有相关记录</span></div>
    </div>
    <div ui-pagination="" page-index="query.pageIndex" total="query.total" page-size="query.pageSize" changed="query.doQuery($pageIndex)"></div>
</div>